gsk: Add 'blit' program
authorEmmanuele Bassi <ebassi@gnome.org>
Mon, 4 Jul 2016 12:55:00 +0000 (13:55 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:08 +0000 (11:49 +0100)
commit0fbf638999813c51b624082ec1d9a502ad784588
tree51d22efb29db5d72fc05ba1256882da400d71b70
parent4cda720ab993c5935694086cecf6fca83a8ecdf2
gsk: Add 'blit' program

For the root node we do not need to use blending, as it does not have
any backdrop to blend into. We can use a simpler 'blit' program that
only takes the content of the source and fills the texture quad with
it.
gsk/gskglrenderer.c
gsk/resources/glsl/blend.vs.glsl
gsk/resources/glsl/blit.fs.glsl [new file with mode: 0644]
gsk/resources/glsl/blit.vs.glsl [new file with mode: 0644]